{template header}
<style>
.dface{overflow: hidden;}
.dface li{float:left;}
.dface li img{border:solid 1px #999999;margin-right:10px;}

</style>

<!--main-->
<div class="midder">
<div class="mc">
<div class="bbox mh400">
{template set_menu}
{if $TS_SITE['base']['isface']=='1' && $strUser['face'] == SITE_URL.'public/images/user_normal.jpg'}
<div class="alert">提示：你需要上传头像才可以正常使用网站！</div>
{/if}


<table width="100%" class="commtable">
<tr><th>当前头像</th><td><img alt="{$TS_USER[uname]}" src="{$strUser[face]}?v={php echo rand();}" width="60" /></td></tr>

<tr><th>选择本地头像</th><td><form method="post" action="{SITE_URL}index.php?app=user&ac=set&ts=facedo"  enctype="multipart/form-data">
<input type="file" name="picfile" /><input class="btn" type="submit" value="上传头像" />
</form></td></tr>


<tr><th></th><td><a class="btn" href="{tsUrl('user','set',array('ts'=>'flash'))}">使用Flash上传并裁切头像</a></td></tr>

</table>



</div>


</div>
</div>

{template footer}